package com.shop.loan.mapper;

import com.shop.loan.model.entity.UserLoginLogByMybatis;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserLoginLogByMybatisMapper {
    int deleteByPrimaryKey(Long id);

    int insert(UserLoginLogByMybatis row);

    int insertSelective(UserLoginLogByMybatis row);

    UserLoginLogByMybatis selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(UserLoginLogByMybatis row);

    int updateByPrimaryKey(UserLoginLogByMybatis row);

    List<UserLoginLogByMybatis> selectListByUser(@Param("userId") Long userId);

    List<UserLoginLogByMybatis> selectListByDevice(@Param("userId") Long userId);

    List<String> selectIpByList(@Param("userId") Long userId);
}